<template>
  <div id="app">
    <div class="container">
      <div class="row">
        <Header></Header>
        <router-view/>
        <RightSide></RightSide>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "./common/Header";
import RightSide from "./common/RightSide";
export default {
  name: 'App',
  components: {
    Header,
    RightSide
  }
}
</script>

<style>
  /*重写当宽度大于1280px时固定container的CSS样式*/
  @media screen and (min-width: 1280px) {
    .container {
      width: 1280px;
    }

  }
  /*处理超小屏幕下导航栏的展示*/
  @media screen and (max-width: 991px) {
    .nav li {
      float: left;
      width: 20%;
    }
    .row.logo {
      margin-top: 0px;
    }
  }
  /*超级小屏幕下*/
  @media screen and (max-width: 767px) {
    .nav ul li span {
      font-size: 10px;
    }
    .nav a {
      padding-left: 10px;
    }
    .news li:nth-child(1)  {
      width: 100% !important;
      height: 265px;
    }
    .news li {
      width: 50%!important;
    }
    /*隐藏新闻的图片*/
    .new_icon {
      display: none;
    }
    .logo_icon {
      display: none!important;
    }
  }
  /*设置全局的样式*/
  body {
    background-color: whitesmoke;
  }
  .container {
    background-color: white;
    padding-bottom: 30px;
  }
  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  a {
    text-decoration: none!important;
  }
</style>
